<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户修改-PIGS后台系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/static/res/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="/static/res/hint/css/message.css">

    <style type="text/css">
        .layui-form-item .layui-inline {
            width: 33.333%;
            float: left;
            margin-right: 0;
        }

        @media (max-width: 1240px) {
            .layui-form-item .layui-inline {
                width: 100%;
                float: none;
            }
        }
    </style>
</head>
<body class="childrenBody">

<form class="layui-form" style="width:80%;">
    <br/>
    <input type="text" value="" name="userId" class="layui-input layui-hide userId">
    <div class="layui-form-item">

        <div class="layui-inline">
            <label class="layui-form-label  is-required">登录名</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userName" name="userName" placeholder="请输入登录名" maxlength="10"
                       autocomplete="off">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label is-required">密码</label>
            <div class="layui-input-block">
                <input type="password" value="" class="layui-input userPassword" name="userPassword" placeholder="请输入密码"
                       maxlength="15" autocomplete="off">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label  is-required">昵称</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userNickname" name="userNickname" placeholder="请输入昵称"
                       maxlength="10" autocomplete="off">
            </div>
        </div>
    </div>


    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label  is-required">邮箱</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userEmail" name="userEmail" placeholder="请输入邮箱" maxlength="30"
                       autocomplete="off">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label  is-required">号码</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userTelephoneNumber" name="userTelephoneNumber"
                       placeholder="请输入手机号码" maxlength="11" autocomplete="off">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label  is-required">生日</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input userBirthday" name="userBirthday" id="userBirthday"
                       placeholder="请输入生日" maxlength="20"
                       autocomplete="off">
            </div>
        </div>

    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label  is-required">性别</label>
            <div class="layui-input-block userSex">
                <input type="radio" name="userSex" value="1" title="男">
                <input type="radio" name="userSex" value="0" title="女">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label  is-required">角色</label>
            <div class="layui-input-block">
                <select name="roleId" id="role">

                </select>
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label  is-required">状态</label>
            <div class="layui-input-block">
                <select name="userState" class="userStatus" lay-filter="userStatus">
                    <option value="0">正常使用</option>
                    <option value="1">限制用户</option>
                </select>
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="editUser">立即提交</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="/static/view/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/res/layui/layui.js"></script>
<script type="text/javascript" src="/static/res/hint/js/message.js"></script>
<script type="text/javascript" src="js/editUser.js"></script>
</body>
</html>
